using System;
using System.Net.Sockets;
using System.Collections;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
using System.Net;

using System.Windows.Forms;

namespace OdsControllerLib {
		
	//public enum OdsMainState {
	//  Init = 0,
	//  Idle = 1,
	//  Checking = 2,
	//  Updating = 3,
	//}
	public enum OdsUpdateMethod {
		Manual = 0,
		ApplicationTimer = 1,
		WindowsServiceTimer = 2,
	}
	public enum OdsLogLevel {
		None = 0,
		Minimal = 1,
		Normal = 2,
		Debug = 3,
	}
	public enum ODSClientState {
		LoggedOn,
		Connected,
		Reading,
		Writing,
		TimedOut,
		Closed,
	}
	/// <summary>
	/// 
	/// </summary>
	public enum OdsHostDnsState {
		/// <summary>
		/// Host never checked
		/// </summary>
		Unknown=0,
		/// <summary>
		/// This hosts's desired ip matches the returned from DNS query
		/// Either Connip and resolved dns address equals pubip OR the configured target ip equals the resolved dns address
		/// </summary>
		DnsMatch=1,
		/// <summary>
		/// This hosts's desired ip DOES NOT match the returned from DNS query
		/// Either Connip and resolved dns address equals pubip OR the configured target ip equals the resolved dns address
		/// </summary>
		DnsNoMatch=2,
		/// <summary>
		/// DNS queried but no records found
		/// </summary>
		NoDnsEntry=3
	}
	public enum LogCategories{
		ApplicationEvents=0,
		ServiceEvents=1,
		CommunicationsSent=2,
		CommunicationsReceived= 3,
		UIActions=4
	}




	//----------------------------------------------------------------------------------
	

	//----------------------------------------------------------------------------------
	

	//----------------------------------------------------------------------------------


	
}
